﻿using System;
using System.Runtime.Serialization;

#pragma warning disable 0649

namespace BattleNet.D3
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class Death : BattleNetObject
    {
        /// <summary>
        /// 
        /// </summary>
        [DataMember(Name = "killer")]
        private int _killer;
        /// <summary>
        /// 
        /// </summary>
        public int Killer
        {
            get { return this._killer; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember(Name = "location")]
        private int _location;
        /// <summary>
        /// 
        /// </summary>
        public int Location
        {
            get { return this._location; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember(Name = "time")]
        private long _time;
        /// <summary>
        /// 
        /// </summary>
        public DateTime Time
        {
            get { return BattleNet.UnixTimeStampToDateTime(this._time); }
        }

        /// <summary>
        /// 
        /// </summary>
        public Death()
        {
        }
    }
}
